package com.wyh.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 msg_verify_message
 *
 * @author WangYuHang
 * @date 2024-03-08
 */

@Data
@ApiModel(value = "【请填写功能名称】对象")
@Builder
@Accessors(chain = true)
@TableName("msg_verify_message")
public class MsgVerifyMessage {

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 申请人id
     */
    @Excel(name = "申请人id")
    @ApiModelProperty(value = "申请人id")
    private String applyId;
    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
     * 群聊id
     */
    @Excel(name = "群聊id")
    @ApiModelProperty(value = "群聊id")
    private String chatRoomId;
    /**
     * 消息类型 0 好友申请消息
     *         1 群邀请消息
     */
    @Excel(name = "消息类型")
    @ApiModelProperty(value = "消息类型")
    private int type;
    /**
     * 申请备注
     */
    @Excel(name = "申请备注")
    @ApiModelProperty(value = "申请备注")
    private String applyRemark;
    /**
     * 申请内容
     */
    @ApiModelProperty(value = "申请内容")
    private String applyContent;


    /**
     * 是否是群成员邀请
     * 0 否
     * 1 是
     */
    @ApiModelProperty(value = "是否是群成员邀请")
    private Integer isGroupInvite;
    /**
     * 验证状态 0验证中 1同意 2拒绝
     */
    @ApiModelProperty(value = "验证状态")
    private Integer verifyStatus;


    /**
     * 是否删除
     */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;
    /**
     * 创建人
     */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private String createUserId;
    /**
     * 修改人
     */
    @Excel(name = "修改人")
    @ApiModelProperty(value = "修改人")
    private String updateUserId;
}
